package io.github.talelin.latticy.dto.warearea;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Positive;

/**
 * @authoer:wulongbo
 * @createDate:2022/5/10
 * @description:
 */

@Data
@NoArgsConstructor
public class UpdateWareareaDTO {


    @Length(min = 2, max = 20, message = "{warehouse.length}")
    private String name;

    @Positive
    private Integer areaOrder;

    /**
     * 类型：false:非接受;true:接收
     */
    private Boolean receiveFlag;

    /**
     * 类型：false:非仓储;true:仓储
     */
    private Boolean stockFlag;

    /**
     * 类型：false:非拣货;true:拣货
     */
    private Boolean pickFlag;

    /**
     * 类型：false:非退货;true:退货
     */
    private Boolean returnFlag;

    /**
     * 类型：0:不可用;1:可用
     */
    private Boolean status;
}
